package com.teemor.blog.api;

import com.teemor.blog.bean.dto.input.modifyhis.AddModifyhisIPo;
import com.teemor.blog.bean.dto.input.modifyhis.QryModifyhissIPo;
import com.teemor.blog.bean.dto.input.modifyhis.UpdModifyhisIPo;
import com.teemor.blog.bean.dto.output.modifyhis.QryModifyhisOPo;
import com.teemor.blog.bean.dto.output.modifyhis.QryModifyhissOPo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author: zhoulk
 * @Description: 原子服务API接口
 * @date: 2020/03/24 17:33:32
 */
@Api(value = "原子服务API接口", description = "原子服务API接口")
@RequestMapping(value = "/modifyhis")
public interface IModifyhisApiService {
     /** 
   * @Function: com.teemor.blog.service.IModifyhisApiService.qryModifyhisById
   * @Description: 根据主键查询
   * @param: id
   * @return: QryModifyhisOPo
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/24 17:33:32
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/24 17:33:32     zhoulk           v1.0.0             修改原因
   *
   */
    @RequestMapping(value = "/qryModifyhis/{id}", method = RequestMethod.GET)
    @ApiOperation(value = "IModifyhisApiService.qryModifyhis", notes = "根据主键查询接口 - zhoulk")
    QryModifyhisOPo qryModifyhis(@PathVariable Integer id);

     /** 
   * @Function: com.teemor.blog.service.IModifyhisService.countModifyhis
   * @Description: 统计条数
   * @param: inParam
   * @return: int
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/24 17:33:32
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/24 17:33:32     zhoulk           v1.0.0             修改原因
   *
   */
    @RequestMapping(value = "/countModifyhis", method = RequestMethod.GET)
    @ApiOperation(value = "IModifyhisApiService.countModifyhis", notes = "数量统计接口 - zhoulk")
    int countModifyhis(@RequestBody QryModifyhissIPo inParam);

     /** 
   * @Function: com.teemor.blog.service.IModifyhisService.qryModifyhiss
   * @Description: 查询列表
   * @param: inParam
   * @return: List<QryModifyhissOPo>
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/24 17:33:32
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/24 17:33:32     zhoulk           v1.0.0             修改原因
   *
   */
    @RequestMapping(value = "/qryModifyhiss", method = RequestMethod.GET)
    @ApiOperation(value = "IModifyhisApiService.qryModifyhiss", notes = "列表查询接口 - zhoulk")
    List<QryModifyhissOPo> qryModifyhiss(@RequestBody QryModifyhissIPo inParam);

     /** 
   * @Function: com.teemor.blog.service.IModifyhisService.updModifyhisById
   * @Description: 根据ID更新
   * @param: inParam
   * @return: 
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/24 17:33:32
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/24 17:33:32     zhoulk           v1.0.0             修改原因
   *
   */
    @RequestMapping(value = "/updModifyhis", method = RequestMethod.PUT)
    @ApiOperation(value = "IModifyhisApiService.updModifyhis", notes = "根据主键更新接口 - zhoulk")
    void updModifyhis(@RequestBody UpdModifyhisIPo inParam);

     /** 
   * @Function: com.teemor.blog.service.IModifyhisService.addModifyhis
   * @Description: 新增接口
   * @param: inParam
   * @return: 
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/24 17:33:32
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/24 17:33:32     zhoulk           v1.0.0             修改原因
   *
   */
    @RequestMapping(value = "addModifyhis", method = RequestMethod.POST)
    @ApiOperation(value = "IModifyhisApiService.updModifyhis", notes = "新增接口 - zhoulk")
    void addModifyhis(@RequestBody AddModifyhisIPo inParam);
}